using System;

namespace HZY.Models
{
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;

	[Table(nameof(SalesSlipInfo_Items))]
	public class SalesSlipInfo_Items
	{
		[Key]
		public Guid SalesSlipInfo_Items_ID { get; set; } = Guid.Empty;
		/// <summary>
		/// 父ID  
		/// </summary>
		public Guid Master_Id { get; set; }
		/// <summary>
		/// 产品  
		/// </summary>
		[Required(ErrorMessage = "产品不能为空!")]
		public Guid SalesSlipInfo_Items_ProdectId { get; set; }
		/// <summary>
		/// 产品名称  
		/// </summary>
		public string SalesSlipInfo_Items_ProdectName { get; set; }
			/// <summary>
			/// 产品编码  
			/// </summary>
		public string SalesSlipInfo_Items_ProdectCode { get; set; }
		/// <summary>
		/// 颜色  
		/// </summary>
		public string SalesSlipInfo_Items_ProdectColour { get; set; }
		/// <summary>
		/// 罩壳配置  
		/// </summary>
		public string SalesSlipInfo_Items_Enclosure { get; set; }
		/// <summary>
		/// 数量 
		/// </summary>
		[Required(ErrorMessage = "数量不能为空!")]
		public decimal? SalesSlipInfo_Items_ProdectNumber { get; set; }
		/// <summary>
		/// 单位 
		/// </summary>
		public string SalesSlipInfo_Items_ProdectUnit { get; set; } = "平米";
		/// <summary>
		/// 单价 
		/// </summary>
		[Required(ErrorMessage = "单价不能为空!")]
		public decimal? SalesSlipInfo_Items_ProdecUnitPrice { get; set; }
		/// <summary>
		/// 金额  
		/// </summary>
		public decimal? SalesSlipInfo_Items_ProdecMoney { get; set; }
		/// <summary>
		/// 创建时间
		/// </summary>
		[DatabaseGenerated(DatabaseGeneratedOption.Computed)]
		public DateTime? SalesSlipInfo_Items_CreateTime { get; set; }
		/// <summary>
		/// 宽 
		/// </summary>
		[Required(ErrorMessage = "宽度不能为空!")]
		public decimal? SalesSlipInfo_Items_Width { get; set; }
		/// <summary>
		/// 高 
		/// </summary>
		[Required(ErrorMessage = "高度不能为空!")]
		public decimal? SalesSlipInfo_Items_Height { get; set; }
	}
}